package com.atguigu.spzx.model.vo.common;

import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    SUCCESS(200, "操作成功"),
    LOGIN_ERROR(201, "用户名或者密码错误"),
    SYSTEM_ERROR(9999, "您的网络有问题请稍后重试"),
    VALIDATECODE_ERROR(202, "验证码错误");
    private final Integer code;
    private final String message;

    ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
